package com.app.ytong.bean;

import com.alibaba.fastjson.annotation.JSONField;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Generated;

@Entity(indexes = {@Index(value = "yid,yna", unique = true)})
public class GoodsTimeListData extends BasisBean {

    /**
    * {
     *       "yid": "1492418536444063746",
     *       "aid": "2",
     *       "yna": "2021",
     *       "yno": "21",
     *       "uno": "2001"
     *     },
     *     {
     *       "yid": "1486987347717582850",
     *       "aid": "2",
     *       "yna": "2020",
     *       "yno": "20",
     *       "uno": "2001"
     *     }
     */
    private static final long serialVersionUID = 1L;


    @JSONField(name = "yid")
    private String yid;
    @JSONField(name = "aid")
    private String aid;
    @JSONField(name = "yna")
    private String yna;
    @JSONField(name = "yno")
    private String yno;
    @JSONField(name = "uno")
    private String uno;

    @Generated(hash = 1680000115)
    public GoodsTimeListData(String yid, String aid, String yna, String yno,
            String uno) {
        this.yid = yid;
        this.aid = aid;
        this.yna = yna;
        this.yno = yno;
        this.uno = uno;
    }

    @Generated(hash = 633782217)
    public GoodsTimeListData() {
    }

    public String getYid() {
        return yid;
    }

    public void setYid(String yid) {
        this.yid = yid;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getYna() {
        return yna;
    }

    public void setYna(String yna) {
        this.yna = yna;
    }

    public String getYno() {
        return yno;
    }

    public void setYno(String yno) {
        this.yno = yno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }
}
